package com.chl.legou.seckill.service;

import com.chl.legou.core.service.ICrudService;
import com.chl.legou.seckill.po.SeckillGoods;

import java.util.List;

/**
 * @author chlong
 * @date 2022/7/29
 */

public interface ISeckillGoodsService extends ICrudService<SeckillGoods> {

    //获取指定时间秒杀商品的列表
    List<SeckillGoods> list(String key);

    //根据商品id查询商品详情
    SeckillGoods one(String time,Long id);
}
